//
//  ZCSReDiscoveryModel.m
//  聆听FM
//
//  Created by dllo on 16/6/6.
//  Copyright © 2016年 Dark. All rights reserved.
//

#import "ZCSReDiscoveryModel.h"
#import "ZCSReDiscoveryListModel.h"

@implementation ZCSReDiscoveryModel
- (instancetype)initWithDic:(NSDictionary *)dic
{
    self = [super initWithDic:dic];
    if (self) {
        NSMutableArray *array = [NSMutableArray array];
        for (NSDictionary *dic  in _list) {
            ZCSReDiscoveryListModel *model = [[ZCSReDiscoveryListModel alloc] initWithDic:dic];
            if (model.properties) {
                [array addObject:model];
            }
        }
        NSLog(@"%@", array);
        self.list = [NSArray arrayWithArray:array];
    }
    return self;
}
@end
